import request from '@/utils/request'

// 获取线路下拉列表
export function getRouteSimpleListApi() {
  return request({
    url: '/route/list/simple_info',
    method: 'get'
  })
}


// 获取司机下拉列表
export function getDriverSimpleListApi() {
  return request({
    url: '/v1/driver/list/simple',
    method: 'post',
    data: {}
  })
}


// 获取车辆下拉列表
export function getVehicleSimpleListApi() {
  return request({
    url: '/vehicle/list/simple',
    method: 'post',
    data: {
      structureType: [1, 3],
      sourceType: ""
    }
  })
}